<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>客户关系管理系统</title>
    <base href="${pageContext.request.contextPath}/"/>
</head>
<body>
<footer class="tm-footer row tm-mt-small">
    <div class="col-12 font-weight-light">
        <p class="text-center text-white mb-0 px-4 small">Copyright &copy; 2021.Company name All rights reserved</p>
    </div>
</footer>

<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<!-- https://jquery.com/download/ -->
<script type="text/javascript" src="js/moment.min.js"></script>
<!-- https://momentjs.com/ -->
<script type="text/javascript" src="js/Chart.min.js"></script>
<!-- http://www.chartjs.org/docs/latest/ -->
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<!-- https://getbootstrap.com/ -->
<script type="text/javascript" src="js/tooplate-scripts.js"></script>
<script>
    Chart.defaults.global.defaultFontColor = 'white';
    let ctxLine,
        ctxBar,
        ctxPie,
        optionsLine,
        optionsBar,
        optionsPie,
        configLine,
        configBar,
        configPie,
        lineChart;
    barChart, pieChart;
    // DOM is ready
    $(function () {
        drawLineChart(); // Line Chart
        drawBarChart(); // Bar Chart
        drawPieChart(); // Pie Chart

        $(window).resize(function () {
            updateLineChart();
            updateBarChart();
        });
    })
</script>
</body>
</html>
